﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TraceabilityApp_Domain
{
    /// <summary>
    /// 溯源管理养殖信息表（Breed）
    /// </summary>
    public class BreedModel:BaseEntity
    {
        /// <summary>
        /// 养殖信息主键(主键标识)
        /// </summary>
        [Key]
        public int BreedId {  get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public string Variety {  get; set; }
        /// <summary>
        /// 来源
        /// </summary>
        public string Source {  get; set; }
        /// <summary>
        /// 饲养天数
        /// </summary>
        public int HousingDays {  get; set; }
        /// <summary>
        /// 饲料品牌
        /// </summary>
        public string FeedBrand {  get; set; }
        /// <summary>
        /// 饲养负责人
        /// </summary>
        public string Herdsperson {  get; set; }
        /// <summary>
        /// 出栏日期
        /// </summary>
        public DateTime HarvestDate {  get; set; }
        /// <summary>
        /// 生产批次(整个系统唯一)
        /// </summary>
        public string Batch { get; set; }
    }
}
